{extend name="../application/public/base.html" /}
{block name="head"}
    <link rel="stylesheet" href="ADMIN_CUSTOM/css/btn.css">
    <link rel="stylesheet" href="ADMIN_CUSTOM/css/form.css">
{/block}
{block name="body"}
    <body>
        <div class="x-nav">
            <span class="layui-breadcrumb">
                <a href="">首页</a>
                <a href="">演示</a>
                <a><cite>导航元素</cite></a>
            </span>
            <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
            <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                            <form class="layui-form">
                                <input type="hidden" name="repair_id" value="{:request()->param('ids')}">
                                <div class="layui-tab" style="margin-bottom:15px;">
                                    <div class="layui-tab-content tab-content-form">
                                        <span style="display: block;">
                                            <label>短信内容</label>
                                            <div class="layui-input-inline" style="width: 80%;">
                                                <textarea placeholder="请输入短信内容" lay-verify="required" name="content" class="layui-textarea"></textarea>
                                            </div>
                                        </span>
                                        <span style="display: block;">
                                            <label>短信模板</label>
                                            <div class="layui-input-inline">
                                                <select class="layui-select" name="message" lay-verify="required" lay-filter="select">
                                                    <option value="">请选择短信模版</option>
                                                    {volist name="message" id="v"}
                                                    <option value="{$v.message_id}@@{$v.type}">{$v.message_name}</option>
                                                    {/volist}
                                                </select>
                                            </div>
                                        </span>
                                        <div class="layui-btn" lay-submit lay-filter="send_mach" style="margin-top: 20px;">确定</div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div> 
    </body>
{/block}
{block name="script"}
    <!-- <script type="text/javascript" src="ADMIN_CUSTOM/js/repair/send_mach.js"></script> -->
    <script type="text/javascript" src="ADMIN_CUSTOM/js/repair/repair_state.js"></script>
{/block}